<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>${user.usermname  }的主页</title>
<link rel="stylesheet" type="text/css" href="css/common.css">
</head>
<body>
	<jsp:include page="header.jsp"></jsp:include>
	<div>
		<div><img src="icons/${user.userIconName }"></div>
		<div>${user.usermname }</div>
		<div>注册时间：${user.regDateStr }</div>
		<div>所有主贴</div>
		<div>
			<c:forEach var="topic" items="${user.topicList }">
				<div>
					<a href="replay.do?tid=${topic.tid }&page=1">${topic.ttitle }</a>
				</div>
			</c:forEach>
		</div>
		<div>所有回帖</div>
		<div>
			<c:forEach var="replay" items="${user.replayList }">
				<div>
					${replay.rcontent }
				</div>
			</c:forEach>
		</div>
	</div>
	<jsp:include page="footer.jsp"></jsp:include>
</body>
</html>